package Java攻略._1_基础知识._3_构造函数引用;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class _17_将列表转换为流_再转换回列表 {

    public static void main(String[] args) {

        _14_Person beforePerson = new _14_Person("Grace");

        List<_14_Person> personList = Stream.of(beforePerson)
                .collect(Collectors.toList());

        _14_Person afterPerson = personList.get(0);


    }
}
